var express = require('express');
var router = express.Router();
const path = require('path')
/* GET home page. */
router.get('/upload', function(req, res, next) {
  var filePath = "../bz/apk/"; // Or format the path using the `id` rest param
  // var fileName = "report.pdf"; // The default name the browser will use
  const fileName = '测试.apk'
  const file= path.join(__dirname, '../apk', '测试.apk')
  console.log(file);
  res.download(file);
});

module.exports = router;
